package com.kexuexiong.demo.common.feignProvider.baseService.index;

import com.kexuexiong.demo.common.dto.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "bearBase-web",path = "bearBase",contextId = "bearBaseWebIndexFeignClient")
public interface IndexFeignClient {

    @RequestMapping(value = "/index/index", method = {RequestMethod.GET})
    Result<String> index(@RequestParam("name") String name);
}
